<?php

require_once __DIR__ . '/abstract/AbstractDAO.php';
require_once __DIR__ . '/../bean/StatusMov.php';

class StatusMovDAO extends AbstractDAO{
	public function find(){
		$this->query = 'select * from status_mov order by status_mov';
		
		$this->executaQuery();
		
		$statusMovList = array();
		
		while($proxLinha = $this->proximaLinhaResultado()){
			$statusMovList[] = new StatusMov($proxLinha['status_mov']);
		}
		
		return $statusMovList;
	}
}

?>